\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session}{\section{\-Rest\-A\-P\-I.\-amazon.\-S3.\-S3session \-Class \-Reference}
\label{classRestAPI_1_1amazon_1_1S3_1_1S3session}\index{\-Rest\-A\-P\-I.\-amazon.\-S3.\-S3session@{\-Rest\-A\-P\-I.\-amazon.\-S3.\-S3session}}
}


\-A \hyperlink{namespaceS3}{\-S3} session that can be used to interact with \hyperlink{namespaceS3}{\-S3} online services.  


\-Inheritance diagram for \-Rest\-A\-P\-I.\-amazon.\-S3.\-S3session\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classRestAPI_1_1amazon_1_1S3_1_1S3session}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1S3session_a05dfd1eea485d0232e1bd79c9d04ae78}{\-\_\-\-\_\-init\-\_\-\-\_\-}
\begin{DoxyCompactList}\small\item\em \-Start a \hyperlink{namespaceS3}{\-S3} session in given location. \end{DoxyCompactList}\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_a002246d038eaa0ac0019693758fa82a3}{def \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1S3session_a002246d038eaa0ac0019693758fa82a3}{set\-Credential}}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_a002246d038eaa0ac0019693758fa82a3}

\begin{DoxyCompactList}\small\item\em \-Set the credential information of the current bucket. \end{DoxyCompactList}\item 
def \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1S3session_af3ae82d52125510979a032ccca232da5}{buckets}
\begin{DoxyCompactList}\small\item\em \-List the buckets owned by the owner of current \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1S3session}{\-S3session}. \end{DoxyCompactList}\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_a940ad89e98573cf8af1f414fa47ef352}{def {\bfseries create\-Bucket}}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_a940ad89e98573cf8af1f414fa47ef352}

\item 
def \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1S3session_ad74250390bcb76917674c2d4e6240e40}{delete\-Bucket}
\begin{DoxyCompactList}\small\item\em \-Delete the bucket of given name. \end{DoxyCompactList}\item 
def \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1S3session_a337a81039b860f12db9c81d472124f73}{\-\_\-\-\_\-getitem\-\_\-\-\_\-}
\begin{DoxyCompactList}\small\item\em \-Get bucket by the given name. \end{DoxyCompactList}\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_a92052f6421633921715243d97cfa9b0b}{def \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1S3session_a92052f6421633921715243d97cfa9b0b}{create\-Bucket\-Obj}}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_a92052f6421633921715243d97cfa9b0b}

\begin{DoxyCompactList}\small\item\em \-Initalize a bucket object in memory based on the given information. \end{DoxyCompactList}\item 
\hypertarget{classRestAPI_1_1amazon_1_1service_1_1AWSservice_a5f315411ab9dbc513a5c377b1ed285e0}{def \hyperlink{classRestAPI_1_1amazon_1_1service_1_1AWSservice_a5f315411ab9dbc513a5c377b1ed285e0}{set\-Owner}}\label{classRestAPI_1_1amazon_1_1service_1_1AWSservice_a5f315411ab9dbc513a5c377b1ed285e0}

\begin{DoxyCompactList}\small\item\em \-Set the owner of the \-A\-W\-S service. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_a126b6103f4723a3e0df4418129a38619}{{\bfseries location}}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_a126b6103f4723a3e0df4418129a38619}

\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_a5cb4eae52afe8f9173d926cb5566998b}{{\bfseries host}}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_a5cb4eae52afe8f9173d926cb5566998b}

\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_ab96c46827fa039729ad4f970da6af26d}{{\bfseries \-Auth\-Key}}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_ab96c46827fa039729ad4f970da6af26d}

\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_a286112ac4ddf61e6a074816057e898a6}{{\bfseries \-Secret\-Access\-Key}}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_a286112ac4ddf61e6a074816057e898a6}

\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_a80363e40614d35bb83b87996e4ff3f1b}{{\bfseries security\-Token}}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_a80363e40614d35bb83b87996e4ff3f1b}

\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_a1fdbcdd363669f3405857293dfc408d7}{{\bfseries acl}}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_a1fdbcdd363669f3405857293dfc408d7}

\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_a2b90ac665df43f62855be48673d152f1}{tuple {\bfseries \-L\-O\-C\-A\-T\-I\-O\-N} = (\char`\"{}\-E\-U\char`\"{} , \char`\"{}eu-\/west-\/1\char`\"{} , \char`\"{}us-\/west-\/1\char`\"{} , \char`\"{}us-\/west-\/2\char`\"{}, \char`\"{}ap-\/southeast-\/1\char`\"{} , \char`\"{}ap-\/northeast-\/1\char`\"{} , \char`\"{}sa-\/east-\/1\char`\"{} , \char`\"{}\char`\"{})}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_a2b90ac665df43f62855be48673d152f1}

\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_af428dc476b50d125f0da0b20dde55591}{tuple {\bfseries \-A\-C\-L\-\_\-\-O\-P\-T\-I\-O\-N\-S} = (\char`\"{}private\char`\"{} , \char`\"{}public-\/read\char`\"{} , \char`\"{}public-\/read\char`\"{} , \char`\"{}authenticated-\/read\char`\"{} , \char`\"{}bucket-\/owner-\/read\char`\"{} , \char`\"{}bucket-\/owner-\/full-\/control\char`\"{})}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_af428dc476b50d125f0da0b20dde55591}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-A \hyperlink{namespaceS3}{\-S3} session that can be used to interact with \hyperlink{namespaceS3}{\-S3} online services. 



\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_a05dfd1eea485d0232e1bd79c9d04ae78}{\index{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-S3session@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-S3session}!\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}}
\index{\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}!RestAPI::amazon::S3::S3session@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-S3session}}
\subsubsection[{\-\_\-\-\_\-init\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf \-Rest\-A\-P\-I.\-amazon.\-S3.\-S3session.\-\_\-\-\_\-init\-\_\-\-\_\-} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{locale = {\ttfamily 'us'}}
\end{DoxyParamCaption}
)}}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_a05dfd1eea485d0232e1bd79c9d04ae78}


\-Start a \hyperlink{namespaceS3}{\-S3} session in given location. 

\-Possible locations are\-: oregon,california,eu,singapore,sao paulo 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_a337a81039b860f12db9c81d472124f73}{\index{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-S3session@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-S3session}!\-\_\-\-\_\-getitem\-\_\-\-\_\-@{\-\_\-\-\_\-getitem\-\_\-\-\_\-}}
\index{\-\_\-\-\_\-getitem\-\_\-\-\_\-@{\-\_\-\-\_\-getitem\-\_\-\-\_\-}!RestAPI::amazon::S3::S3session@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-S3session}}
\subsubsection[{\-\_\-\-\_\-getitem\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf \-Rest\-A\-P\-I.\-amazon.\-S3.\-S3session.\-\_\-\-\_\-getitem\-\_\-\-\_\-} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{bucket\-Name}
\end{DoxyParamCaption}
)}}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_a337a81039b860f12db9c81d472124f73}


\-Get bucket by the given name. 

\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_af3ae82d52125510979a032ccca232da5}{\index{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-S3session@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-S3session}!buckets@{buckets}}
\index{buckets@{buckets}!RestAPI::amazon::S3::S3session@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-S3session}}
\subsubsection[{buckets}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf \-Rest\-A\-P\-I.\-amazon.\-S3.\-S3session.\-buckets} (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_af3ae82d52125510979a032ccca232da5}


\-List the buckets owned by the owner of current \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1S3session}{\-S3session}. 

\-Returns a list of \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1Bucket}{\-Bucket} objects. \hypertarget{classRestAPI_1_1amazon_1_1S3_1_1S3session_ad74250390bcb76917674c2d4e6240e40}{\index{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-S3session@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-S3session}!delete\-Bucket@{delete\-Bucket}}
\index{delete\-Bucket@{delete\-Bucket}!RestAPI::amazon::S3::S3session@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-S3session}}
\subsubsection[{delete\-Bucket}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf \-Rest\-A\-P\-I.\-amazon.\-S3.\-S3session.\-delete\-Bucket} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{bucket\-Name}
\end{DoxyParamCaption}
)}}\label{classRestAPI_1_1amazon_1_1S3_1_1S3session_ad74250390bcb76917674c2d4e6240e40}


\-Delete the bucket of given name. 

\-The content of the bucket must be removed at first. 

\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
amazon/\-S3.\-py\end{DoxyCompactItemize}
